/**
 * 
 */
package com.fg.exemplocrudengenhariadesoftware.util;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

/**
 * @author endrigo
 *
 */
public class PropertiesUtil {

	public PropertiesUtil() {
	}
	
	public static Properties getProp() throws IOException {
		Properties props = new Properties();
		
		InputStream is =  FileUtil.getInputStream("ExemploCRUDEngenhariaDeSoftwareWeb.properties");
		//FileInputStream file = new FileInputStream("WEB-INF/ExemploCRUDEngenhariaDeSoftwareWeb.properties");
		props.load(is);
		return props;
	}

}
